package com.bao.wechat.coin.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.bao.wechat.framework.BaseModel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * <p>
 * 
 * </p>
 *
 * @author bao 
 */
@TableName("xtj_coin")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class XtjCoin extends BaseModel {

private static final long serialVersionUID=1L;

    @TableId
    private Integer id;
    private Integer aid;    
    private String name;    
    private String status;
    @JSONField( format = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private Date startTime;
    @JSONField( format = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private Date endTime;
    private String coin;
    @JSONField( format = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private Date useTime;
    private Integer userId;    
    private String userName;

    private Date updatedAt;
    private Date createdAt;
    private String openid;

}
